package com.example.vue_shop.components.role.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author lipengwei
 */
@Data
@ApiModel(description = "角色")
public class Role {
    @ApiModelProperty(value = "ID", name = "id", example = "1", dataType =
            "int", hidden = true)
    private int id;
    @ApiModelProperty(value = "角色名称", name = "roleName", example = "1",
            dataType = "String")
    private String roleName;
    @ApiModelProperty(value = "角色描述", name = "roleDesc", example = "1",
            dataType = "String")
    private String roleDesc;

}
